package management;

/**
 * 处理分数超出0-100范围的异常
 */
public class InvalidScoreException extends Exception {
    public InvalidScoreException() {
        super("分数必须在0-100之间");
    }

    public InvalidScoreException(double score) {
        super("无效分数: " + score + "（必须在0-100之间）");
    }
}